package com.smw.cn.dao.main.java.com.smw.cn.service;

import com.smw.cn.entity.Shoppingcart;
import com.smw.cn.model.ShoppingModel;

import java.util.List;

public interface ShoppingcartService {

    void add(Shoppingcart shoppingcart);

    void update(Shoppingcart shoppingcart);

    void delete(Integer id);

    List<ShoppingModel> selectByUsername();

    List<ShoppingModel> selectByUserOrderId(Integer orderId);

}
